package com.cloud.alibaba.service.impl;

import com.cloud.alibaba.mapper.ConsumerMapper;
import com.cloud.alibaba.service.ConsumerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 刘志强
 * @date 2020/11/25 13:27
 */
@Service
public class ConsumerImpl implements ConsumerService {

    @Autowired
    private ConsumerMapper consumerMapper;

    @Override
    public Integer addUser(String userName) {
        return consumerMapper.addUser(userName);
    }
}
